//
//  NEDFormElementLayout.h
//  NEDFormView_Example
//
//  Created by 000 on 2022/1/7.
//  Copyright © 2022 000. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NEDFormSectionLayout : NSObject

/// 显示右侧箭头标识 当为YES时候 marginRight值若为0 默认调整30
@property (assign, nonatomic) BOOL showRightArrowView;

/// 显示底部的分界线 :YES
@property (assign, nonatomic) BOOL showBottomSeparatorLine;
//no
@property (assign, nonatomic) BOOL showTopSeparatorLine;
//ned_separator
@property (retain, nonatomic) UIColor * separatorLineColor;
//0.5
@property (assign, nonatomic) CGFloat separatorLineHeight;

/// 该视图展示在顶部 view之间可能叠加 让这个视图显示在顶部
@property (assign, nonatomic) BOOL isDisplayedAtTop;

/// cell高度也是最小高度 :50
@property (assign, nonatomic) CGFloat height;
/// 如果有这个高度值  就固定这个 用于高度计算存储固定高度的
@property (assign, nonatomic) CGFloat heightFix;
/// 高度是自动计算的
@property (assign, nonatomic) BOOL heightAuto;

/// 左侧内容视图 宽度 ： 0
@property (assign, nonatomic) CGFloat widthContentLeft;
/// 右侧内容视图 宽度 ： 0
@property (assign, nonatomic) CGFloat widthContentRight;

/// 左边距： 0
@property (assign, nonatomic) CGFloat marginLeft;
/// 右边距：0
@property (assign, nonatomic) CGFloat marginRight;

/// ned_white
@property (retain, nonatomic) UIColor * backgroundColor;

/// Stack布局 如果左中右右多个元素时候 元素之间的间距:0
@property (assign, nonatomic) CGFloat spaceStack;

/// 顶部间距 默认0
@property (assign, nonatomic) CGFloat spaceTop;
/// 默认 clear
@property (retain, nonatomic) UIColor * spaceTopColor;
/// 底部间距 默认0
@property (assign, nonatomic) CGFloat spaceBottom;
/// 默认 clear
@property (retain, nonatomic) UIColor * spaceBottomColor;


/// 这个cell的圆角信息 默认None
@property (assign, nonatomic) UIRectCorner cornerType;
/// 圆角大小
@property (assign, nonatomic) CGFloat cornerRadius;

/// 不自动更新layout信息 通过数组的设置方式
@property (assign, nonatomic) BOOL isNotUpdateLayoutFromArrayUnifiedSettings;

@end

NS_ASSUME_NONNULL_END
